public class Text01 {
    public static void main(String[] args) {
/*
        System.out.println("202301110038 + 张洪健");
        Bird bird = new Bird();
        System.out.println("翅膀的数量有" + bird.numberOfWings + "个");
        bird.eat();
        bird.fly();
        System.out.println(bird.toString())
 */

        //Animal animal = new Bird();
        Bird bird = new Bird();
        //Bird bird = new Bird();
        //bird.eat();
        //animal = bird;
        //Bird bird = (Bird)animal;
        //animal.fly();
        Animal animal = new Animal();
        /*
        if(animal instanceof Bird)
        {
            System.out.println("true");
        }
        else
        {
            System.out.println("false");
        }
         */
    }
}
